package com.bw.liuyushan.liuyushan20210929.Requestaddress;

import com.bw.liuyushan.liuyushan20210929.Entity.UserBean;

import io.reactivex.Observable;
import retrofit2.http.POST;
import retrofit2.http.Query;

/**
 * Liuyushan20210929
 * file name is : API_User
 * created by Ender on 2021/9/29 14:29.
 * author : 刘雨杉
 * Describe:
 */
public interface API_User {
    public static final String url = "https://www.wanandroid.com/";

    @POST("user/login")
    Observable<UserBean> TestLogin(@Query("username")String username,@Query("password")String password);
    @POST("user/register")
    Observable<UserBean> TestReg(@Query("username")String username,@Query("password")String password,@Query("repassword")String repassword);
}
